gtk: Allocate everything from GtkNativeClass::layout
authorJonas Ådahl <jadahl@gmail.com>
Wed, 2 Dec 2020 10:59:23 +0000 (11:59 +0100)
committerJonas Ådahl <jadahl@gmail.com>
Mon, 7 Dec 2020 08:46:39 +0000 (09:46 +0100)
commit8a599b2582422f0b6921d85a33466f560d3073a6
treea3107abed3377eaba6c9e2fccdd781b0c6b23560
parenta798edc360bc49190034e9b2c0713996eaf16b38
gtk: Allocate everything from GtkNativeClass::layout

This changes allocation of the widget trees to happen as a side effect
to the GdkSurface::layout signal, which first passes the GtkNative
instance where it is then forwarded to the implementations of the
GtkNative interface.

The implementations of GtkNative are the ones doing the actual
gtk_widget_allocate(), and they do so in their GtkNativeClass::layout
function.
gtk/gtkdragicon.c
gtk/gtknative.c
gtk/gtknative.h
gtk/gtknativeprivate.h
gtk/gtkpopover.c
gtk/gtkroot.c
gtk/gtktexthandle.c
gtk/gtktooltipwindow.c
gtk/gtkwidget.c
gtk/gtkwindow.c